Add TAL-Reverb-II plugin to test
[juce-lv2.git] / juce / source / extras / the jucer / src / ui / jucer_SnapGridPainter.h
blobd06499b97cfe782533d8e197d072c6346537378f
1 /*
2 ==============================================================================
4 This file is part of the JUCE library - "Jules' Utility Class Extensions"
5 Copyright 2004-11 by Raw Material Software Ltd.
7 ------------------------------------------------------------------------------
9 JUCE can be redistributed and/or modified under the terms of the GNU General
10 Public License (Version 2), as published by the Free Software Foundation.
11 A copy of the license is included in the JUCE distribution, or can be found
12 online at www.gnu.org/licenses.
14 JUCE is distributed in the hope that it will be useful, but WITHOUT ANY
15 WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
16 A PARTICULAR PURPOSE. See the GNU General Public License for more details.
18 ------------------------------------------------------------------------------
20 To release a closed-source product which uses JUCE, commercial licenses are
21 available: visit www.rawmaterialsoftware.com/juce for more information.
23 ==============================================================================
26 #ifndef __JUCER_SNAPGRIDPAINTER_JUCEHEADER__
27 #define __JUCER_SNAPGRIDPAINTER_JUCEHEADER__
29 #include "../model/jucer_JucerDocument.h"
30 #include "../model/jucer_PaintRoutine.h"
33 //==============================================================================
34 /**
36 class SnapGridPainter
38 public:
39 //==============================================================================
40 SnapGridPainter();
41 ~SnapGridPainter();
43 //==============================================================================
44 void draw (Graphics& g, PaintRoutine* backgroundGraphics);
46 bool updateFromDesign (JucerDocument& design);
47 void updateColour();
49 private:
50 int snapGridSize;
51 bool snapShown;
52 Image backgroundFill;
56 #endif // __JUCER_SNAPGRIDPAINTER_JUCEHEADER__